<?php if(!empty($files)): ?>
<b>ไฟล์แนบ:</b>
<?php foreach($files as $key => $file): ?>
	<?php if($key > 0) echo ',&nbsp;'; ?>
	<?php echo anchor('files/download/'.$file['id'], $file['filename']); ?>
<?php endforeach; ?>
<?php endif; ?>